package com.tianji.learning.mapper;

import com.tianji.learning.domain.po.InteractionReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 互动问题的回答或评论 Mapper 接口
 * </p>
 *
 * @author yp
 * @since 2024-07-23
 */
public interface InteractionReplyMapper extends BaseMapper<InteractionReply> {

    @Delete("delete from tj_learning.interaction_reply where  question_id = #{questionId}")
    void selectreply(@Param("questionId") Long id);
}
